package com.itany.life.userdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MVCViewContreoller {


    @RequestMapping("/show{viewName}")
    public String show(@PathVariable("viewName") String viewName){
        return viewName;
    }
}
